package test;

public class BasketBallCoach extends Coach implements LearnEnglish{

    public BasketBallCoach() {
    }

    public BasketBallCoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("姓名是"+getName()+"年龄是"+getAge()+"的篮球教练在教学扣篮");

    }

    @Override
    public void learnEnglish() {
        System.out.println("姓名是"+getName()+"年龄是"+getAge()+"的篮球教练在学抽球");
    }
}
